List of common error reports for Linux email servers-Linux Enterprise applications-Linux server application information. For details, refer to the following section. Server 400 Error Report
Q: 421 Server too busy
A: Unable to connect because the
Centos6.x use the mail command to send an emailUse the mail command to send an email
Because you often need to back up website data, you have learned how to send emails through shell in linux. Here, we use CentOS as an example to use the mail
Because you often work under Linux, so many times you need to send your work reports or other useful stuff to the people involved, so take the time to study how to send mail under Linux. We can usually use the following 3 to send the way:
1. Use
When you are still in the tangle php built-in mail () function can not send mail, then you are very lucky now, this article can help you!
PHP uses the SMTP class to send mail is very good, I used a long time, basically did not have a problem. This
Here is the use of GoDaddy Linux host, Windows host should also be similar, I did not try.The first way to send mail using PHP's own mail () functionFile organization, put 123.html and send.php two files in the same directory123.html Name Send mail
Python send email is still relatively simple, can be sent by the login mail service, Linux can also use the call SendMail command to send, you can also use local or remote SMTP service to send mail, whether it is a single, Mass, or CC is easier to
This article mainly introduces Python to send email 3 methods, this article explains the use of the login mail server method, call the SendMail command, use the SMTP service to send three kinds of methods, the need for friends can refer to the
First, use the PHP built-in mail () functionAfter reading the manual, I began to write the code directly, as follows$to = "[email protected]"; //Recipient $subject = "Test"; //Theme $message = "This is a test mail!"; //Body Mail
After the linux file is uploaded, the system automatically sends an email to shell. First, the function of each directory is described as www.2cto.com # backup file storage directory/home/admin/xiaoshibak # All shell storage
The command line sends an email, and the linux Command Line sends an email.CentOS
Stop or remove sendmail: yum remove sendmail
Yum install postfix
Yum install mailx
Check whether the MTA is Postfix: alternatives -- display mta
If you do not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.